package pl.niemar22.unitests;

import java.util.concurrent.TimeUnit;

import org.junit.Before;
import org.junit.Test;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.firefox.FirefoxDriver;

public class test_selenium extends SeleniumBase{
	
	@Test
	public void test1() throws Exception {
		driver.get("https://code.google.com/p/selenium/");
		
		click(By.linkText("Downloads"));
		click(By.linkText("Wiki"));
		click(By.id("searchq"));
		clear(By.id("searchq"));
		insertText(By.id("searchq"), "problemkjhkjh");
		click(By.cssSelector("span.inIssueList > form > input[type=\"submit\"]"));
		
	}
	
	
}